//租赁状况的 出租率（空间）bar
const operateLeaseSpace = {
  legend: {
    show: true,
    data: ['面积'],
    x: "right",
    y: "top"
  },
  color: ['#3384fe'],
  title: '',
  xAxisData: [],
  tooltip:{
    show:true,
  },
  yUnit: "占比",
  gridTop: '35px',
  barWidth: 10,
  gridBottom: '50px',
  right: '20px',
  left: '40px',
  list: [{
    name: '面积',
    type: 'bar',
    barWidth: 10,
    data: []
  }]
}

//租赁状况的 出租率（平面）bar
const operateLeasePlane = {
  legend: {
    show: true,
    data: ['个数'],
    x: "right",
    y: "top"
  },
  color: ['#3384fe'],
  title: '',
  xAxisData: [],
  tooltip:{
    show:true
  },
  yUnit: "占比",
  gridTop: '35px',
  barWidth: 10,
  gridBottom: '50px',
  right: '20px',
  left: '40px',
  list: [
    {
      name: '个数',
      type: 'bar',
      barWidth: 10,
      data: []
    }
  ]
}

//租赁状况的 出租率（空间）pie
const operateLeaseSpacePie = {
  color : ['#e08c25','#f1f1f1'],
  legend: {
    show: false,
    data: ['面积'],
    x: "left",
    y: "top",
    legendWidth:150,
  },
  seriesName:"出租率",
  title:"出租率(空间资产)",
  list: [60,40]
}

//租赁状况的 出租率（平面）pie
const operateLeasePlanePie = {
  color : ['#e08c25','#f1f1f1'],
  legend: {
    show: false,
    data: ['个数'],
    x: "left",
    y: "top",
    legendWidth:150,
  },
  seriesName:"出租率",
  title:"出租率(平面资产)",
  list: [80,20]
}

//租赁状况的 业态占比
const operateCommercial = {
  legend: {
    show: true,
    data: ['面积', '权责收入'],
    x: "right",
    y: "top"
  },
  color: ['#3384fe', '#f79100'],
  title: '',
  xAxisData: [],
  tooltip:{
    show:true
  },
  yUnit: "占比",
  gridTop: '35px',
  barWidth: 10,
  gridBottom: '50px',
  right: '20px',
  left: '40px',
  list: [{
      name: '面积',
      type: 'bar',
      barWidth: 10,
      data: []
    },
    {
      name: '权责收入',
      type: 'bar',
      barWidth: 10,
      data: []
    }
  ]
}

//收缴状况的 收缴率
const businessCapture = {
  legend: {
    show: true,
    data: ['现金流', '权责'],
    x: "right",
    y: "top"
  },
  color: ['#3384fe', '#f79100'],
  title: '',
  xAxisData: [],
  tooltip:{
    show:true
  },
  yUnit: "占比",
  gridTop: '35px',
  barWidth: 10,
  gridBottom: '50px',
  right: '20px',
  left: '40px',
  list: [{
      name: '现金流',
      type: 'bar',
      barWidth: 10,
      data: []
    },
    {
      name: '权责',
      type: 'bar',
      barWidth: 10,
      data: []
    }
  ]
}

//收缴状况的 欠费（30天以上）
const businessArrearageMore = {
  legend: {
    show: false,
  },
  color: ['#3384fe'],
  title: '',
  xAxisData: [],
  tooltip:{
    show:true
  },
  yUnit: "金额(万元)",
  gridTop: '35px',
  barWidth: 10,
  gridBottom: '50px',
  right: '20px',
  left: '6%',
  list: [{
    type: 'bar',
    barWidth: 10,
    data: []
  }]
}

//收缴状况的 欠费（30天以内）
const businessArrearage = {
  legend: {
    show: false,
  },
  color: ['#3384fe'],
  title: '',
  xAxisData: [],
  tooltip:{
    show:true
  },
  yUnit: "金额(万元)",
  gridTop: '35px',
  barWidth: 10,
  gridBottom: '50px',
  right: '20px',
  left: '6%',
  list: [{
    type: 'bar',
    barWidth: 10,
    data: []
  }]
}

export {
  operateLeaseSpace,
  operateLeasePlane,
  operateLeaseSpacePie,
  operateLeasePlanePie,
  operateCommercial,
  businessCapture,
  businessArrearage,
  businessArrearageMore
}
